﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Master/AdminMaster.Master" AutoEventWireup="true"
    CodeBehind="DistributeRelationInfo.aspx.cs" Inherits="HZ.DrugTrade.Web.Admin.BidProdManage.DistributeRelationInfo"
    Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="maincon">
        <div id="note">
            产品配送关系详情</div>
        <div id="note2">
        </div>
        <table>
            <tr>
                <th align="right" width="20%">
                    <asp:Label ID="lblGoodsNameTag" runat="server" Text="产品名称："></asp:Label>
                </th>
                <td align="left">
                    <asp:Label ID="lblGoodsName" runat="server"></asp:Label>
                </td>
                <th align="right">
                    <asp:Label ID="lblOutlookcTag" runat="server" Text="规格型号："></asp:Label>
                </th>
                <td align="left">
                    <asp:Label ID="lblOutlookc" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th align="right">
                    <asp:Label ID="lblMaterialTag" runat="server" Text="材质："></asp:Label>
                </th>
                <td align="left">
                    <asp:Label ID="lblMaterial" runat="server"></asp:Label>
                </td>
                <th align="right">
                    <asp:Label ID="lblUnitTag" runat="server" Text="单位："></asp:Label>
                </th>
                <td align="left">
                    <asp:Label ID="lblUnit" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <th align="right">
                    <asp:Label ID="lblCompany_ZBTag" runat="server" Text="投标企业："></asp:Label>
                </th>
                <td align="left">
                    <asp:Label ID="lblCompany_ZB" runat="server"></asp:Label>
                </td>
                <th align="right">
                    <asp:Label ID="lblCompany_SCTag" runat="server" Text="生产厂家："></asp:Label>
                </th>
                <td align="left">
                    <asp:Label ID="lblCompany_SC" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
    <br />
    <asp:GridView ID="gvwDRInfo" CssClass="mainlist" runat="server" AutoGenerateColumns="False"
        DataKeyNames="ProcureCatalogID" EmptyDataText="该产品暂无配送关系！" OnRowCommand="gvwDRInfo_RowCommand">
        <Columns>
            <asp:TemplateField HeaderText="医疗机构">
                <ItemTemplate>
                    <asp:Label ID="lblHospital" runat="server" Text='<%# Eval("HospitalName") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="配送企业">
                <ItemTemplate>
                    <asp:Label ID="lblComany" runat="server" Text='<%# Eval("CompanyName_PS") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="是否启用">
                <ItemTemplate>
                    <asp:Image ID="Image1" runat="server" ImageUrl='<%# (bool)Eval("DistributionIsUsing")?"~/lib/images/ico_yes.gif":"~/lib/images/ico_no.gif" %>' />
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <hz:HzLinkButton ID="lbnIsUsing" runat="server" Text='<%#(bool)Eval("DistributionIsUsing")?"禁用":"启用" %>'
                        CommandName="IsUsing" CommandArgument='<%# Eval("DistributionIsUsing ")+";"+Eval("HospitalID")+";"+Eval("CompanyID_PS") %>'
                        OnClientClick="return confirm('确定要进行该操作吗？')"></hz:HzLinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
     <div class="page">
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
    </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明:<span> hahh</span></li>
        </ul>
    </div>
</asp:Content>
